package com.itheima.service.cargo;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.cargo.Packing;
import com.itheima.domain.cargo.PackingExample;

import java.util.List;

public interface PackingService {
    Packing findById(String id);

    void save(Packing Packing);

    void update(Packing Packing);

    void delete(String id);

    PageInfo<Packing> findByPage(PackingExample PackingExample,
                                       int pageNum, int pageSize);

    List<Packing> findAll(PackingExample example);
}
